package com.yz.promotion.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * User:Mr.Du
 * Date:2024/3/31
 * Time:00:35
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "promotion.rate")
public class DiscountRateProperties {

    private Integer low;

    private Integer high;
}
